using octalforty.Staytuned.ObjectModel;

namespace octalforty.Staytuned.ComponentModel
{
    public interface ITemplateProviderModule
    {
        /// <summary>
        /// Selects <see cref="Template"/> object based on <paramref name="eventDescriptor"/> and <paramref name="recipient"/>.
        /// </summary>
        /// <param name="eventDescriptor"></param>
        /// <param name="recipient"></param>
        /// <returns></returns>
        Template GetTemplate(string eventDescriptor, RecipientDescriptor recipient);
    }
}